package org.dragonnova.lamp.message;

/**
 * Created by hucn on 2016/10/25.
 * Description:
 */
public class Message implements IMessage {

    private byte remoteId;

    private byte localId;

    private byte remoteCommunicationType;

    private byte loaclCommunicationType;

    private byte aciton;

    private byte deviceType;

    private byte[] data;

    @Override
    public void setRemoteId(byte id) {
        this.remoteId = id;
    }

    @Override
    public byte getRemoteId() {
        return remoteId;
    }

    @Override
    public void setRemoteCommunicationType(byte type) {
        this.remoteCommunicationType = type;
    }

    @Override
    public byte getRemoteCommunicationType() {
        return remoteCommunicationType;
    }

    @Override
    public void setLocalId(byte id) {
        this.localId = id;
    }

    @Override
    public byte getLocalId() {
        return localId;
    }

    @Override
    public void setLocalCommunicationType(byte type) {
        this.loaclCommunicationType = type;
    }

    @Override
    public byte getLocalCommunicationType() {
        return loaclCommunicationType;
    }

    @Override
    public void setAction(byte action) {
        this.aciton = action;
    }

    @Override
    public byte getAction() {
        return aciton;
    }

    @Override
    public void setDeviceType(byte type) {
        this.deviceType = type;
    }

    @Override
    public byte getDeviceType() {
        return deviceType;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public void setData(byte[] data) {
        this.data = data;
    }
}
